import { createRouter, createWebHistory } from 'vue-router'
import HelloWorld from '@/components/HelloWorld.vue'


const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: "name",
            redirect: "/login"
        },
        {
            path: "/login",
            name: "login",
            component: () => import('@/views/login/index.vue'),
            meta: {
                title: "登录"
            }

        }
    ]
})
export default router;
